Next: , Previous: Evaluating code blocks, Up: Working With Source Code


14.6 Library of Babel

The “Library of Babel” is a library of code blocks that can be called from any Org-mode file. The library is housed in an Org-mode file located in the ‘contrib’ directory of Org-mode. Org-mode users can deposit functions they believe to be generally useful in the library.

Code blocks defined in the “Library of Babel” can be called remotely as if they were in the current Org-mode buffer (see Evaluating code blocks for information on the syntax of remote code block evaluation).

Code blocks located in any Org-mode file can be loaded into the “Library of Babel” with the org-babel-lob-ingest function, bound to C-c C-v i.